package com.example.safeassistan.home.model;

import java.util.List;

public class MyBackLogListModel {

    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : [{"id":"1","defName":"电气线路检查","checkCount":3,"scheduleCurrentCount":null,"checkFrequency":4,"checkTableId":"1382526997573148673","positionName":"院长","checkTypeName":"季节性检查","defStatus":0,"startTime":"2021-04-17 00:00:00","endTime":"2021-04-17 23:59:59"}]
     * timestamp : 1618648564162
     */

    private Boolean success;
    private String message;
    private Integer code;
    private Long timestamp;
    private List<ResultDTO> result;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultDTO> getResult() {
        return result;
    }

    public void setResult(List<ResultDTO> result) {
        this.result = result;
    }

    public static class ResultDTO {
        /**
         * id : 1
         * defName : 电气线路检查
         * checkCount : 3
         * scheduleCurrentCount : null
         * checkFrequency : 4
         * checkTableId : 1382526997573148673
         * positionName : 院长
         * checkTypeName : 季节性检查
         * defStatus : 0
         * startTime : 2021-04-17 00:00:00
         * endTime : 2021-04-17 23:59:59
         */

        private String id;
        private String defName;
        private Integer checkCount;
        private Integer scheduleCurrentCount;
        private Integer checkFrequency;
        private String checkTableId;
        private String positionName;
        private String checkTypeName;
        private Integer defStatus;
        private String startTime;
        private String endTime;
        private Integer type;
        private String riskPointId;
        private String riskPointName;

        public String getRiskPointName() {
            return riskPointName;
        }

        public void setRiskPointName(String riskPointName) {
            this.riskPointName = riskPointName;
        }

        public String getRiskPointId() {
            return riskPointId;
        }

        public void setRiskPointId(String riskPointId) {
            this.riskPointId = riskPointId;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getDefName() {
            return defName;
        }

        public void setDefName(String defName) {
            this.defName = defName;
        }

        public Integer getCheckCount() {
            return checkCount;
        }

        public void setCheckCount(Integer checkCount) {
            this.checkCount = checkCount;
        }

        public Integer getScheduleCurrentCount() {
            return scheduleCurrentCount;
        }

        public void setScheduleCurrentCount(Integer scheduleCurrentCount) {
            this.scheduleCurrentCount = scheduleCurrentCount;
        }

        public Integer getCheckFrequency() {
            return checkFrequency;
        }

        public void setCheckFrequency(Integer checkFrequency) {
            this.checkFrequency = checkFrequency;
        }

        public String getCheckTableId() {
            return checkTableId;
        }

        public void setCheckTableId(String checkTableId) {
            this.checkTableId = checkTableId;
        }

        public String getPositionName() {
            return positionName;
        }

        public void setPositionName(String positionName) {
            this.positionName = positionName;
        }

        public String getCheckTypeName() {
            return checkTypeName;
        }

        public void setCheckTypeName(String checkTypeName) {
            this.checkTypeName = checkTypeName;
        }

        public Integer getDefStatus() {
            return defStatus;
        }

        public void setDefStatus(Integer defStatus) {
            this.defStatus = defStatus;
        }

        public String getStartTime() {
            return startTime;
        }

        public void setStartTime(String startTime) {
            this.startTime = startTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }
    }
}
